package com.example.c5chapter5.bean;

public class Person {
    public String name="SimpleLee";
    private String sex = "女";
    private int age = 30;
    private boolean married = true;
    public Person() {
    }
    public String getName(){
        return name;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getSex(){
        return sex;
    }
    public void setSex(String sex){
        this.sex=sex;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int age){
        this.age=age;
    }
    public boolean isMarried(){
        return married;
    }
    public void setMarried(boolean married){
        this.married=married;
    }
}
